﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VBModel
{
    public class BookInfo
    {

    }
    /// <summary>
    /// 符合条件的会议室拥有的资源 
    /// 投影仪
    /// 电话机
    /// </summary>

    public class MtrRes
    { 
        public int resId { get; set; }
        public string resName { get; set; }
        public string resIcon { get; set; }
    }
    /// <summary>
    /// 符合条件的会议室
    /// 日期
    /// 容量
    /// IsVIP
    /// </summary>

    public class MtrData 
    {
        public int mtrId { get; set; }
        public string mtrName { get; set; }
        public string mtrCompanyRuc { get; set; }
        public string mtrDeptRuc { get; set; }
        public string mtrAddress { get; set; }
        public string mtrAddress1 { get; set; }
        public int? mtrCapacity { get; set; }
        public string mtrPhone { get; set; }
        public string mtrType { get; set; }
        public string mtrFreeTime { get; set; }
        public string mtrPhoto { get; set; }
        public bool mtrState { get; set; }
        public int? mtrLongestBookingDay { get; set; }
        public string mtrLongestAdvanceBookingTime { get; set; }
        public string mtrLastUser { get; set; }
        public string mtrLastTime { get; set; }
        public string undefine1 { get; set; }
        public string undefine2 { get; set; }
        public string undefine3 { get; set; }
        public List<MtrRes> listMtrRes { get; set; }
        public List<MtrEvent> listMtrEvent { get; set; }
        //public string mtrCompany { get; set; }
        //public string mtrDeptRuc { get; set; }
        //public string mtrAddress { get; set; }
        //public string mtrAddress1 { get; set; }
        //public Nullable<int> mtrCapacity { get; set; }
        //public string mtrPhone { get; set; }
        //public string mtrType { get; set; }
        //public string mtrFreeTime { get; set; }
        //public string mtrPhoto { get; set; }
        //public bool mtrState { get; set; }
        //public Nullable<int> mtrLongestBookingDay { get; set; }
        //public string mtrLongestAdvanceBookingTime { get; set; }
        //public string mtrLastUser { get; set; }
        //public string mtrLastTime { get; set; }
        //public Nullable<bool> mtrDelete { get; set; }
        //public string undefine2 { get; set; }
        //public string undefine3 { get; set; }
    }

    public class Type 
    {
        public string type { get; set; }
    }

    /// <summary>
    /// 符合条件的会议室已有的预定事件
    /// bookingID
    /// </summary>

    public class MtrEvent
    {
        public string bookingID { get; set; }
        public string bookingType { get; set; }
        public int Meetingroom { get; set; }
        public string bookingPerson { get; set; }
        public System.DateTime startTime { get; set; }
        public System.DateTime endTime { get; set; }
        public string meetingTheme { get; set; }
        public string participants { get; set; }
        public string meetingAbstract { get; set; }
        public string specialRequestFirst { get; set; }
        public string specialRequestSecond { get; set; }
        public Nullable<int> bookingState { get; set; }
        public string cancelPerson { get; set; }
        public Nullable<System.DateTime> cancelTime { get; set; }
        public string cancelReason { get; set; }
        public Nullable<int> useResult { get; set; }
        public Object BookingSchedul { get; set; }
        public string undefine1 { get; set; }
    }

    public class BookingSchedul
    {
        public string planID { get; set; }
        public Nullable<int> meetingRoom { get; set; }
        public Nullable<System.DateTime> meetingStartDate { get; set; }
        public string startTime { get; set; }
        public Nullable<System.DateTime> meetingEndDate { get; set; }
        public string endTime { get; set; }
        public Nullable<bool> Monday { get; set; }
        public Nullable<bool> Tuesday { get; set; }
        public Nullable<bool> Wednesday { get; set; }
        public Nullable<bool> Thursday { get; set; }
        public Nullable<bool> Friday { get; set; }
        public Nullable<bool> Saturday { get; set; }
        public Nullable<bool> Sunday { get; set; }
        //public TimeSpan timeSpan { get; set; }
        public string undefine1 { get; set; }
        public string undefine2 { get; set; }
        //public string undefine3 { get; set; }
    }
}
